package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbSpecificationOptionMapper;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.service.SpecOptionService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@DubboService
public class SpecOptionServiceImpl implements SpecOptionService {
    @Autowired
    private TbSpecificationOptionMapper tbSpecificationOptionMapper;

    @Override
    public List<TbSpecificationOption> selectBySpecId(Long id) {
        return tbSpecificationOptionMapper.selectBySpecId(id);
    }
}
